﻿using sql_data_generator.Enums;
using sql_data_generator.Extensions;
using System.Xml.Serialization;

namespace sql_data_generator.Entities
{
    public class SubField
    {
        [XmlIgnore]
        public string Name
        {
            get
            {
                return SubFieldType.GetEnumDescription();
            }
        }

        public SubFieldType SubFieldType { get; set; }
    }
}